def area(b,h):
    s = 1/2*(b*h+h*h)
    a = int(s/240)
    return f'弓形田地面积为{a}亩零{s%240:.2f}平方步'

b = 30
h = 15
b2 = 78.5
h2 = 124/9
print(f'{area(b,h)}')
print(f'{area(b2,h2)}')

